<?php
/**
 * <b>RUBIK IT Solution & Development ltd.</b>
 *
 * PROJECT		: Rubik Ultimate Framework
 * @version 	: 1.1
 * COPYRIGHT    : 2008
 * ------------------------------------------------------
 * 
 * Created on	:  Jun 19, 2008
 * 
 */

// no direct access
defined ( '_FW_EXEC' ) or die ( 'Restricted access' );

RCoreImporter::cls("dbo.AbstractRubikDBFinder" );

class AbstractDBFinder extends AbstractRubikDBFinder {
	
	/**
	 * Object constructor to set table and key field
	 *
	 * Can be overloaded/supplemented by the child class
	 *
	 * @access protected
	 * 
	 * @param AbstractRubikDTO / string $selectFrom This can be an AbstractRubikDTO or a Select From string
	 * @param string $extCondition
	 * @param string $orderBy
	 * @param Database $db database object of this DB Info.
	 */
	function __construct($selectFrom = "", $extCondition = "", $orderBy = "", $db = null) {
		if (empty ( $db )) {
			$db = &SysDatabase::getInstance ();
		}
		parent::__construct ( $selectFrom, $extCondition, $orderBy, $db );
	}

}
?>